//
//  OnlineTabBar.h
//  iBaby365v2
//
//  Created by admin on 14/12/2.
//  Copyright (c) 2014年 suplus. All rights reserved.
//

#import <UIKit/UIKit.h>
@class OnlineTabBar;
@protocol OnlineTabBarDelegate <NSObject>

@optional
-(void)tabBar:(OnlineTabBar *)tabBar didselectButtonFrom:(int)from to:(int)to;

@end
@interface OnlineTabBar : UIView
@property (nonatomic,weak) id<OnlineTabBarDelegate>delegate;

/**
 *  用来添加一个内部按钮
 *
 *  @param name    按钮图片
 *  @param selName 按钮选中时的图片
 */
-(void)addTabButtonWithName:(NSString *)name selName:(NSString *)selName titleName:(NSString *)titleName;
@end
